package com.cloud.order.from;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * describe:
 *
 * @author zhanghaixuan
 * @date 2018/09/11
 **/
@Data
public class OrderForm {

    @NotEmpty(message = "姓名必填")
    private String name;
    @NotEmpty(message = "电话必填")
    private String phone;
    @NotEmpty(message = "地址必填")
    private String address;
    @NotEmpty(message = "openId必填")
    private String openId;
    @NotEmpty(message = "购物车Id不能为空")
    private String itemId;
}
